// TypeScript file
module view{
    export class GameViewRoomFullPanel extends eui.Component {
            public result_message: eui.Label
            public backhome: eui.Button
            
            public constructor(){
                super();
                this.skinName=view.GameViewRoomFull;
                this.backhome.addEventListener(egret.TouchEvent.TOUCH_TAP, this.BackHome, this)
               
            }
              public setData(data:any):void{
                 this.result_message.text=data["result_message"]
              }
            private BackHome(e: egret.TouchEvent): void {//返回首页
                this.dispatchEventWith("home");
            }
    }
}